#!/bin/bash

set -e

####
## Functions
####

function enable_mod() {
    # This function runs the initial configuration the module needs once it is installed
    modprobe nfnetlink_queue

    # Ensure read permissions for loggerd
    touch /var/log/suricata/fast.log
    chgrp adm /var/log/suricata/fast.log
}


####
## Calls
####

enable_mod

exit 0
